{% include "header.html" %}
<div id="wrapper">
	<div id="content-wrapper">
		<div id="content">
		{% if is_paginated %}
                    {% ifequal current_page 1 %}
                    {% else %} <a href="?page=1"><img src="/medias/images/first.png" border="0" width="16" height="16" alt="转到第一页" /></a>
                    {% endifequal %}
                    {% if has_previous %} <a href="?page={{ previous }}"><img src="/medias/images/previous.png" border="0" width="16" height="16" alt="上一页" /></a>
                    {% else %} <img src="/medias/images/previous.png" width="16" height="16" border="0" alt="上一页" />
                    {% endif %}
                    {% for p in page_numbers %}
                        <a href="?page={{ p }}">{{ p }}</a>
                    {% endfor %}
                    {% if has_next %}<a href="?page={{ next }}"><img src="/medias/images/next.png" border="0" width="16" height="16" alt="下一页" /></a>
                    {% else %}<img src="/medias/images/next.png" border="0" width="16" height="16" alt="下一页" />
                    {% endif %}
                    {% ifequal current_page pages %}<img src="/medias/images/last.png" border="0" width="16" height="16" alt="转到最后一页" />
                    {% else %} <a href="?page={{ pages }}"><img src="/medias/images/last.png" border="0" width="16" height="16" alt="转到最后一页" /></a>
                    {% endifequal %}
                    &nbsp;&nbsp;
                    当前页：{{ page }}/{{ pages }}
                    &nbsp;&nbsp;
					{% endif %}              
					共[&nbsp;{{ hits }}&nbsp;]个地区描述
		<table cellspacing="0" border="0">
		<caption>
		[<a href='{{ parent_id }}'>{{ parent_name }}</a>]&nbsp;下属地区列表
		</caption>
		<tr>
			<td>地区名称</td>
		</tr>
		{% for x in object_list %}
		<tr class="{% cycle alt,'' %}">
			<td><a href="/place/{{ x.id }}/">{{ x.place_name|capfirst  }}</a></td>
		</tr>
		{% endfor %}
		</table>
		{% if is_paginated %}
                    {% ifequal current_page 1 %}
                    {% else %} <a href="?page=1"><img src="/medias/images/first.png" border="0" width="16" height="16" alt="转到第一页" /></a>
                    {% endifequal %}
                    {% if has_previous %} <a href="?page={{ previous }}"><img src="/medias/images/previous.png" border="0" width="16" height="16" alt="上一页" /></a>
                    {% else %} <img src="/medias/images/previous.png" width="16" height="16" border="0" alt="上一页" />
                    {% endif %}
                    {% for p in page_numbers %}
                        <a href="?page={{ p }}">{{ p }}</a>
                    {% endfor %}
                    {% if has_next %}<a href="?page={{ next }}"><img src="/medias/images/next.png" border="0" width="16" height="16" alt="下一页" /></a>
                    {% else %}<img src="/medias/images/next.png" border="0" width="16" height="16" alt="下一页" />
                    {% endif %}
                    {% ifequal current_page pages %}<img src="/medias/images/last.png" border="0" width="16" height="16" alt="转到最后一页" />
                    {% else %} <a href="?page={{ pages }}"><img src="/medias/images/last.png" border="0" width="16" height="16" alt="转到最后一页" /></a>
                    {% endifequal %}
                    &nbsp;&nbsp;
                    当前页：{{ page }}/{{ pages }}
                    &nbsp;&nbsp;
					{% endif %}              
					共[&nbsp;{{ hits }}&nbsp;]个地区描述
		</div>
	</div>
	<div id="sidebar-wrapper">
		
			<div id="sidebar">
				
			</div>
		
	</div>
</div>
{% include "footer.html" %}
